package com.HomeWorkhsp.Chapter08.homework.homework03;

public class Test {
    public static void main(String[] args) {
        Scientist zns = new Scientist(55000, "钟南山");
        zns.setBonus(1000000);
        zns.printSal();

        Teacher min = new Teacher(4000, "min");
        min.setClassDay(20);
        min.setClassSal(100);
        min.printSal();
    }
}
